package com.b2b2c.store.single.mapper;

import com.b2b2c.store.single.entity.GoodsClass;
import java.util.List;

public interface GoodsClassMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(GoodsClass record);

    GoodsClass selectByPrimaryKey(Integer id);

    List<GoodsClass> selectAll();

    int updateByPrimaryKey(GoodsClass record);
    
    /**
           *  根据父级编号
     * @return
     */
    List<GoodsClass> selectByPid(Integer id);
}